package com.yuyuto.conn.model.response;

import java.util.List;

/**
 * Created by Demon on 2016/11/24.
 */

public class RespRedPacketList {


    /**
     * redPacketList : [{"redPacketId":"4cf3e90c-0f63-40b5-b858-264b28aa877c","parValue":100,"name":"红包","status":3,"expireDate":"2016.03.23至2016.03.23","giftFlag":0}]
     * totalPage : 1
     */

    private int totalPage;
    private List<RedPacket> redPacketList;

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public List<RedPacket> getRedPacketList() {
        return redPacketList;
    }

    public void setRedPacketList(List<RedPacket> redPacketList) {
        this.redPacketList = redPacketList;
    }

    public static class RedPacket {

        public static final int STATUS_CAN_USE = 1;
        public static final int STATUS_USED = 2;
        public static final int STATUS_EXPRIED = 3;

        public static final int FLAG_SELF = 0;
        public static final int FLAG_PRESENT = 1;
        /**
         * redPacketId : 4cf3e90c-0f63-40b5-b858-264b28aa877c
         * parValue : 100
         * name : 红包
         * status : 3
         * expireDate : 2016.03.23至2016.03.23
         * giftFlag : 0
         */

        private String redPacketId;
        private double parValue;
        private String name;
        private int status;
        private String expireDate;
        private int giftFlag;

        public String getRedPacketId() {
            return redPacketId;
        }

        public void setRedPacketId(String redPacketId) {
            this.redPacketId = redPacketId;
        }

        public double getParValue() {
            return parValue;
        }

        public void setParValue(double parValue) {
            this.parValue = parValue;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getExpireDate() {
            return expireDate;
        }

        public void setExpireDate(String expireDate) {
            this.expireDate = expireDate;
        }

        public int getGiftFlag() {
            return giftFlag;
        }

        public void setGiftFlag(int giftFlag) {
            this.giftFlag = giftFlag;
        }
    }
}
